#ifndef QNOTE_H
#define QNOTE_H

#include "allegro.h"
#include <QString>

class QNote
{
public:
	QNote();
	~QNote();

public:
	int track = 0;
	int channel = 0;

	float level = 0;
	float pitch = 0;

	double ticks = 0;
	double duration = 0; // ticks
	double time = 0; // seconds

	QString data;
	QString HMSF;
	QString MBT;
	QString Dur;

	Alg_event_ptr event = nullptr;

	static bool compare(const QNote& s1, const QNote& s2);
};

#endif // QNOTE_H